package com.woniu.liuzhougov.WorkPlan.Enum;

/**
 * @Description:
 * @Author: junzhao
 * @Date: 2019-04-25 17:02
 */
public enum PlanEnum {
    PLAN_TYPE_NAME_YEAR(200,"年度"),
    PLAN_TYPE_NAME_MOUTH(201,"月度"),
    PLAN_RELEASE_ERROR(100,"当前文章已发布"),
    PLAN_OK_RELEASE(101,"已发布"),
    PLAN_NOT_RELEASE(102,"未发布"),
    PLAN_NEW_RELEASE(1,"新计划"),
    PLAN_RELEASE(2,"已发布的计划");
    private Integer code;
    private String message;
    //command shift u 大写

    //必须有构造方法吗？
    PlanEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
